using System;
using OhioState.AssetManaged;
using OhioState.Graphics.Proxy;

namespace OhioState.Graphics
{
    /// <summary>
    /// TextureWriterProxy class for writing out a texture
    /// </summary>
    [Serializable()]
    public class TextureWriterProxy : SharedAsset
    {
        private TextureProxy textureProxy;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="textureProxy">Texture</param>
        public TextureWriterProxy(TextureProxy textureProxy)
        {
            this.textureProxy = textureProxy;
        }
        /// <summary>
        /// Get the textureproxy
        /// </summary>
        /// <returns></returns>
        public TextureProxy GetTextureProxy()
        {
            return textureProxy;
        }
    }
}
